package com.liuzu.esys.mapper;

import com.liuzu.esys.pojo.Storage;
import com.liuzu.esys.vo.StorageBarVo;
import com.liuzu.esys.vo.StorageNumberVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 太上老君保佑：代码，绿绿绿绿绿！！！！！
 *
 * @Description :
 * @Author : 冯小冯
 * @Date : 2022-07-25 15:21
 */
public interface StorageMapper {
    List<Storage> selectByParams(Map<String, Object> params);

    int storageAdd(Storage storage);

    int storageUpdate(Storage storage);

    int storageDelete(int id);

    int storageaddByInto(Storage storage);

    List<Storage> selectToStock();

    int updateToStock(Storage storage);


    Integer selectBoStock(String name);

    List<StorageBarVo> nameBarData();

    List<Storage> selectByKey(Storage storage);

    int deleteMessageByIds(@Param("ids") String[] ids);

    List<StorageNumberVo> nameNumerBarData();
}
